<%@ page contentType="text/html; charset=windows-1252" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
        <title>Tags</title>
        <link type="text/css" href="jquery/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
    </head>

    <body>
        <form action="PinoController.do?method=searchFeedsF" method="post" name="formSearch">
            <fieldset>
                <legend>Search</legend>
                <table width="24%" border="0" cellspacing="3" cellpadding="3">
                    <tr>
                        <td width="6%" class="hentry">Content</td>

                        <td width="94%"><input size="50" type="text" name="words" /></td>
                    </tr> 
                    <tr>
                        <td>&nbsp;</td>
                        <td><div align="right"><a id="button" href="#"><img border="0" src="images/folder_add_32.png" alt="Save" width="32" height="32" /></a></div></td>
                    </tr>
                </table>
            </fieldset>
        </form>
        <fieldset>
            <legend>Result</legend>
            Found (<%=session.getAttribute(net.cjb.malacma.rssfeed.util.FeedFacade.TOTALRESULTS)%>) Feeds
            <table width="100%" border="1">
                <tr>
                    <td width="91%" class="resultList">Title</td>
                    <td width="6%" class="resultList"><div align="center">Favorite</div></td>
                    <td width="3%" class="resultList"><div align="center">Link</div></td>
                </tr>
                <!-- Results-->
                <%=session.getAttribute(net.cjb.malacma.rssfeed.util.FeedFacade.RESULTS)%>
            </table>
        </fieldset>
        <script>
            function loadFeed(url){
                parent.nefertiteController.showLoadingDiv();
                parent.document.location='PinoController.do?rss='+escape(url);
            }
            document.getElementById("button").onclick=function(){
                parent.nefertiteController.showLoadingDiv();
                document.formSearch.submit();
            }
            window.onload = function(){
                parent.nefertiteController.hideLoading();
            }

        </script>
    </body>
</html>